<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .a {
            height: 200px;
            border: 1px solid #000;
            display: flex;
        }
        .a1 , .a2 {
            border: 1px solid #000;
        }

        .a1 {
            /* flex-basis: 100px; */
            width: 200px;
        }

        .a2 {
            /* flex-shrink: 0;
            flex-grow: 1; */
            flex-grow:1 ;

            /* flex:1 ;    flex-shrink(1)  flex-grow(1)   flex-basis(auto) */

            /* flex-shrink  收缩比例是如何计算的？？？？ */
        }
    </style>
</head>
<body>
    <!-- <form action="">
        <input type="text" autocomplete="on">
        <input type="submit">
    </form> -->


    <div class="a">
        <div class="a1">1111111111111111111111111111111111111111111111111111111</div>
        <div class="a2">2</div>
    </div>

</body>
</html>